package com.shenghua.dao.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author yzr
 * @date 2019-5-22
 *
 */
public class User implements Serializable {
    /** 主键id */
    private Integer id;

    /** 角色id */
    private Integer roleId;

    /** 角色名称 */
    private String roleName;

    /** 所属部门 */
    private String departmentId;

    /** 用户类型（0.系统管理员 1.员工） */
    private String belongType;

    /** 操作人(真实姓名，昵称) */
    private String linkman;

    /** 注册手机号 */
    private String phone;

    /** 登录名 */
    private String nickname;

    /** 登录密码 */
    private String pwd;

    /** 最后一次成功登入时间 */
    private Date lastLoginTime;

    /** 最后一次登入ip */
    private String lastLoginIp;

    /** 注册时间 */
    private Date created;

    /** 修改时间 */
    private Date updated;

    /** 状态 0:停用 1:启用  */
    private String status;

    /** 备注 */
    private String remark;

    /** 描述 */
    private String described;

    /** 登陆类型(第三方名称如：微信、QQ、新浪) */
    private String loginType;

    /** 微信号 */
    private String unionid;

    /** 头像 */
    private String headpicImg;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getBelongType() {
        return belongType;
    }

    public void setBelongType(String belongType) {
        this.belongType = belongType;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDescribed() {
        return described;
    }

    public void setDescribed(String described) {
        this.described = described;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getHeadpicImg() {
        return headpicImg;
    }

    public void setHeadpicImg(String headpicImg) {
        this.headpicImg = headpicImg;
    }
}